Skip to content

Sector light buffer refactor#1585

Merged
nstlaurent merged 12 commits intodevfrom
light-buffer-refactor
Apr 24, 2026
Merged

Sector light buffer refactor#1585
nstlaurent merged 12 commits intodevfrom
light-buffer-refactor

Conversation

@nstlaurent
Copy link
Copy Markdown
Collaborator

@nstlaurent nstlaurent commented Apr 24, 2026

Unify sector light, color, and fog color to use same buffer method that allows the index to be the same. This removes the separated light index and color index for color and fog and merges them into the same index.

This also frees up 20 bits of space in the SurfaceOptions float for future use.

Fixes incorrect absolute light level handling of flats in UDMF.

@nstlaurent nstlaurent merged commit 78c0f8d into dev Apr 24, 2026
1 check passed
@nstlaurent nstlaurent deleted the light-buffer-refactor branch April 24, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant